let voices = [];
speechSynthesis.onvoiceschanged = function(){
    voices = speechSynthesis.getVoices().filter(i=>{
        i.lang.includes('zh')
    })  ;
    console.log(voices);
    let sayer = new SpeechSynthesisUtterance(`呵呵哈哈哈或`);
    sayer.voice = voices[3];
    speechSynthesis.speak(sayer);

}
module.exports = {
    speechSynthesis
}